package com.example.demo.service;

import com.example.demo.pojo.ResponseResult;
import com.example.demo.pojo.User;

import java.util.Map;

public interface LoginService {

    /**
     * 登录
     * @return  ResponseResult
     */
    public ResponseResult<Map<String, String>> login(User user);

    /**
     * 登出
     * @return
     */
    ResponseResult<String> logout();

}
